package com.easypay.bean.cashier;

import lombok.Data;

import java.io.Serializable;

/**
 * 交易通知报文
 *
 * @date: 2021/10/23 13:45
 * @author: pandans
 */
@Data
public class Notice implements Serializable {

    /**
     * orgTrace : 222222222376
     * prodCode : 2132142132
     * orgSmercode : 123214213213
     * sign : J9zGTnSxlSP26fYM+BbqJA7kCwAX0UC2zhgXARY4Zw8wQVxYTlFM2Huri9cf9IjGV9Nrnt2PTBbtH4bbxULuU0vC3U2jn4qgyNZoG/zJM564XY51ECoeVgugcKMhihrbi33Q2MH4PecA/3xv14LhQ24DysaD3o4PRUTiwWqsSPY=
     * orgMerCode : 531000012965833
     * signType : 214213213
     * sysRetCode : 000000
     * bizData : {"tradeRetCode":"00","tradeRetMsg":"SUCCESS","tradeAmt":"1","pcTrace":"1111111111","outTrace":"2222222222","preferentialAmt":"1","slmtAmt":"1","actuallyAmt":"1","tradeDate":"20210414","tradeTime":"111259","stlmDate":"20210414","stlmTime":"111259"}
     * prodTrace : 124213123123213
     * orgId : ORG000000000001
     * orgTermNo : W1486540
     */

    private String orgTrace;
    private String prodCode;
    private String orgSmercode;
    private String sign;
    private String orgMerCode;
    private String signType;
    private String sysRetCode;
    private BizDataBean bizData;
    private String prodTrace;
    private String orgId;
    private String orgTermNo;

    @Data
    public static class BizDataBean implements Serializable {
        /**
         * tradeRetCode : 00
         * tradeRetMsg : SUCCESS
         * tradeAmt : 1
         * pcTrace : 1111111111
         * outTrace : 2222222222
         * preferentialAmt : 1
         * slmtAmt : 1
         * actuallyAmt : 1
         * tradeDate : 20210414
         * tradeTime : 111259
         * stlmDate : 20210414
         * stlmTime : 111259
         */

        private String tradeRetCode;
        private String tradeRetMsg;
        private String tradeAmt;
        private String pcTrace;
        private String outTrace;
        private String preferentialAmt;
        private String slmtAmt;
        private String actuallyAmt;
        private String tradeDate;
        private String tradeTime;
        private String stlmDate;
        private String stlmTime;
    }
}
